package com.hyt.it.ogt.opertaion.track.rpc;

import com.hyt.common.apiInfor.ApiResponse;
import com.hyt.it.ogt.opertaion.track.model.KsWarningLogVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 考务接口
 *
 * @author 朱振宇
 * @since 2022-11-23
 */
@FeignClient(name = "it-ogt-kz${kw.tag:}", contextId = "warnLogClient", fallback = KwOperationTrackClientHystrix.class)
public interface KwOperationTrackClient {

    @PostMapping("/kw/warn/saveWarning")
    ApiResponse<Boolean> saveWarning(@RequestBody List<KsWarningLogVO> warningList);

}

